<?php

/**
 * Generic exception extension
 *
 * @package yzFramework
 * @author Tomasz Slominski, <tomasz@yzeo.fr>
 * @version 1.0
 * @todo function log
 * @todo functon display
 * @todo function send
 * 
 */
class yzException extends Exception{
	
	public function __construct($sMessage, $nCode = 0, $sFile = null,  $nLine = null){
		
		parent::__construct($sMessage, $nCode);
		
		if (isset($sFile)) $this->file = strval($sFile);
		
		if (isset($nLine)) $this->line = intval($nLine);

	} // function __construct()
		
} // class

?>